import Vue from 'vue'
import App from './App'
import store from './store'
Vue.prototype.$store = store
import {
	init,
	post,
	get
} from "@/common/http.js"
init(store);
Vue.prototype.$get = get
Vue.prototype.$post = post
import Api from '@/common/api.js';
let debug = true;
Vue.prototype.$debug = debug;
let myApi = new Api({
	protocol: debug ? "http" : "https",
	ip: debug ? "39.106.90.145" : "zhuna.eryuyin.com",
	port: debug ? "8180" : "8180"
});
Vue.prototype.$api = myApi.apis
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()
